* gdk/gdkimage.h: Added <public> documentation to the struct, as
suggested by Owen Taylor.
+2004-01-05 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
+ I would have prefered outdent, but compatibility seems more
+ important.
+ * gtk/gtkstock.c (builtin_items) : ditto.
+ * gtk/gtkstock.h : ditto.
+ * gtk/stock-icons/Makefile.am : ditto.
+ * gtk/stock-icons/stock_text_indent_16.png :
+ * gtk/stock-icons/stock_text_indent_24.png :
+ * gtk/stock-icons/stock_text_unindent_16.png :
+ * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
+
Sun Jan 4 15:29:04 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
instead of gtk_action_activate().
+2003-12-18 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
+ to ensure that the base hicolor theme is installed. Silently
+ failing to produce icons that apps assume exist in the theme seems
+ like a bad idea.
+
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org>
Fixes #110249, reworked patch from Joshua N Pritikin.
* gdk/gdkimage.h: Added <public> documentation to the struct, as
suggested by Owen Taylor.
+2004-01-05 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
+ I would have prefered outdent, but compatibility seems more
+ important.
+ * gtk/gtkstock.c (builtin_items) : ditto.
+ * gtk/gtkstock.h : ditto.
+ * gtk/stock-icons/Makefile.am : ditto.
+ * gtk/stock-icons/stock_text_indent_16.png :
+ * gtk/stock-icons/stock_text_indent_24.png :
+ * gtk/stock-icons/stock_text_unindent_16.png :
+ * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
+
Sun Jan 4 15:29:04 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
instead of gtk_action_activate().
+2003-12-18 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
+ to ensure that the base hicolor theme is installed. Silently
+ failing to produce icons that apps assume exist in the theme seems
+ like a bad idea.
+
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org>
Fixes #110249, reworked patch from Joshua N Pritikin.
* gdk/gdkimage.h: Added <public> documentation to the struct, as
suggested by Owen Taylor.
+2004-01-05 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
+ I would have prefered outdent, but compatibility seems more
+ important.
+ * gtk/gtkstock.c (builtin_items) : ditto.
+ * gtk/gtkstock.h : ditto.
+ * gtk/stock-icons/Makefile.am : ditto.
+ * gtk/stock-icons/stock_text_indent_16.png :
+ * gtk/stock-icons/stock_text_indent_24.png :
+ * gtk/stock-icons/stock_text_unindent_16.png :
+ * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
+
Sun Jan 4 15:29:04 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
instead of gtk_action_activate().
+2003-12-18 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
+ to ensure that the base hicolor theme is installed. Silently
+ failing to produce icons that apps assume exist in the theme seems
+ like a bad idea.
+
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org>
Fixes #110249, reworked patch from Joshua N Pritikin.
* gdk/gdkimage.h: Added <public> documentation to the struct, as
suggested by Owen Taylor.
+2004-01-05 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
+ I would have prefered outdent, but compatibility seems more
+ important.
+ * gtk/gtkstock.c (builtin_items) : ditto.
+ * gtk/gtkstock.h : ditto.
+ * gtk/stock-icons/Makefile.am : ditto.
+ * gtk/stock-icons/stock_text_indent_16.png :
+ * gtk/stock-icons/stock_text_indent_24.png :
+ * gtk/stock-icons/stock_text_unindent_16.png :
+ * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
+
Sun Jan 4 15:29:04 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
instead of gtk_action_activate().
+2003-12-18 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
+ to ensure that the base hicolor theme is installed. Silently
+ failing to produce icons that apps assume exist in the theme seems
+ like a bad idea.
+
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org>
Fixes #110249, reworked patch from Joshua N Pritikin.
* gdk/gdkimage.h: Added <public> documentation to the struct, as
suggested by Owen Taylor.
+2004-01-05 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
+ I would have prefered outdent, but compatibility seems more
+ important.
+ * gtk/gtkstock.c (builtin_items) : ditto.
+ * gtk/gtkstock.h : ditto.
+ * gtk/stock-icons/Makefile.am : ditto.
+ * gtk/stock-icons/stock_text_indent_16.png :
+ * gtk/stock-icons/stock_text_indent_24.png :
+ * gtk/stock-icons/stock_text_unindent_16.png :
+ * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
+
Sun Jan 4 15:29:04 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
instead of gtk_action_activate().
+2003-12-18 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
+ to ensure that the base hicolor theme is installed. Silently
+ failing to produce icons that apps assume exist in the theme seems
+ like a bad idea.
+
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org>
Fixes #110249, reworked patch from Joshua N Pritikin.
16, stock_text_underline_16,
24, stock_text_underline_24);
+ add_icon2 (factory, GTK_STOCK_INDENT,
+ 16, stock_text_indent_16,
+ 24, stock_text_indent_24);
+
+ add_icon2 (factory, GTK_STOCK_UNINDENT,
+ 16, stock_text_unindent_16,
+ 24, stock_text_unindent_24);
+
add_icon2 (factory, GTK_STOCK_GOTO_TOP,
16, stock_top_16,
24, stock_top_24);
* the right name is found directly in one of the elements of
* @path, then that image will be used for the icon name.
* (This is legacy feature, and new icons should be put
- * into the default icon theme, which is called "hicolor", rather than
- * directly on the icon path.)
+ * into the default icon theme, which is called DEFAULT_THEME_NAME,
+ * rather than directly on the icon path.)
*
* Since: 2.4
**/
out:
if (icon_info)
icon_info->desired_size = size;
+ else
+ {
+ static gboolean check_for_default_theme = TRUE;
+ char *default_theme_path;
+ gboolean found = FALSE;
+ unsigned i;
+
+ if (check_for_default_theme)
+ {
+ check_for_default_theme = FALSE;
+
+ for (i = 0; !found && i < priv->search_path_len; i++)
+ {
+ default_theme_path = g_build_filename (priv->search_path[i],
+ DEFAULT_THEME_NAME,
+ "index.theme",
+ NULL);
+ found = g_file_test (default_theme_path, G_FILE_TEST_IS_REGULAR);
+ g_free (default_theme_path);
+ }
+ if (!found)
+ {
+ g_warning (_("Could not find the icon '%s'. The '" DEFAULT_THEME_NAME "' theme\n"
+ "was not found either, perhaps you need to install it.\n"
+ "You can get a copy from :\n"
+ "\thttp://freedesktop.org/Software/icon-theme/releases"),
+ icon_name);
+ }
+ }
+ }
return icon_info;
}
{ GTK_STOCK_HARDDISK, N_("_Harddisk"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_HELP, N_("_Help"), GDK_CONTROL_MASK, 'h', GETTEXT_PACKAGE },
{ GTK_STOCK_HOME, N_("_Home"), 0, 0, GETTEXT_PACKAGE },
+ { GTK_STOCK_INDENT, N_("Increase Indent"), 0, 0, GETTEXT_PACKAGE },
+ { GTK_STOCK_UNINDENT, N_("Decrease Indent"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_INDEX, N_("_Index"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_ITALIC, N_("_Italic"), 0, 0, GETTEXT_PACKAGE },
{ GTK_STOCK_JUMP_TO, N_("_Jump to"), 0, 0, GETTEXT_PACKAGE },
#define GTK_STOCK_HELP "gtk-help"
#define GTK_STOCK_HOME "gtk-home"
#define GTK_STOCK_INDEX "gtk-index"
+#define GTK_STOCK_INDENT "gtk-indent" /* since gtk-2.4 */
+#define GTK_STOCK_UNINDENT "gtk-unindent" /* since gtk-2.4 */
#define GTK_STOCK_ITALIC "gtk-italic"
#define GTK_STOCK_JUMP_TO "gtk-jump-to"
#define GTK_STOCK_JUSTIFY_CENTER "gtk-justify-center"
stock_text_strikethrough_24.png \
stock_text_underline_16.png \
stock_text_underline_24.png \
+ stock_text_indent_16.png \
+ stock_text_indent_24.png \
+ stock_text_unindent_16.png \
+ stock_text_unindent_24.png \
stock_top_16.png \
stock_top_24.png \
stock_trash_16.png \
stock_text_strikethrough_24 $(srcdir)/stock_text_strikethrough_24.png \
stock_text_underline_16 $(srcdir)/stock_text_underline_16.png \
stock_text_underline_24 $(srcdir)/stock_text_underline_24.png \
+ stock_text_indent_16 $(srcdir)/stock_text_indent_16.png \
+ stock_text_indent_24 $(srcdir)/stock_text_indent_24.png \
+ stock_text_unindent_16 $(srcdir)/stock_text_unindent_16.png \
+ stock_text_unindent_24 $(srcdir)/stock_text_unindent_24.png \
stock_top_16 $(srcdir)/stock_top_16.png \
stock_top_24 $(srcdir)/stock_top_24.png \
stock_trash_16 $(srcdir)/stock_trash_16.png \